Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[incubator-kie-issues-1259] RestWorkItemHandler logger set to debug #3577

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

Abhitocode
Copy link
Contributor

@Abhitocode Abhitocode commented Jul 10, 2024

The logging output from RestWorkItemHandler generates too many logs which is not helpful. Changed the log level from info to debug.

Closes: apache/incubator-kie-issues#1259

@fjtirado
Copy link
Contributor

@Abhitocode
Copy link
Contributor Author

Issue link updated.

@Abhitocode Abhitocode force-pushed the RestWorkItemHandler-Logging-Output branch from 68cc372 to 81a23f8 Compare July 16, 2024 03:08
@Abhitocode Abhitocode force-pushed the RestWorkItemHandler-Logging-Output branch from 81a23f8 to 9e55020 Compare July 16, 2024 03:13
Copy link
Contributor

@martinweiler martinweiler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @Abhitocode.

I think it is justified to change the log level to DEBUG in the executeWorkItem method, as the messages are logged for the fallback scenario. So if you define a partial URL and the handler works as expected, you don't want these messages to be logged at INFO on each invocation.

@fjtirado thanks for your feedback on this PR!

@Abhitocode Abhitocode marked this pull request as ready for review July 16, 2024 12:41
Copy link
Contributor

@pefernan pefernan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, going to try to have a green before merging :D

@pefernan pefernan merged commit 39240b1 into apache:main Jul 22, 2024
10 of 11 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RestWorkItemHandler generates too much logging output at INFO level
4 participants